package com.cn.jinl.api;


import com.cn.jinl.domain.Role;
import com.cn.jinl.utils.QueryForm;

import java.util.List;

public interface IRoleService {

    List<Role> getRoleList(QueryForm queryForm)throws Exception;

    String addRoleDetail(Role role) throws Exception;

    int countRoleByName(String name, String id) throws Exception;

    String updateRoleDetail(Role role) throws Exception;

    String deleteRoleDetail(QueryForm queryForm) throws Exception;

    List<String> queryRolePermission(String roleId) throws Exception;

}
